<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="../static/css/buyerCar.css"/>
    <link rel="stylesheet" href="../static/css/head.css"/>
    <link href="static/plug-in/laypage/skin/laypage.css">
    <script src="../static/js/jquery.js"></script>
    <script src="../static/plug-in/template-web.js"></script>
    <script src="../static/js/config.js"></script>
    <script src="../static/plug-in/laypage/laypage.js"></script>
    <script src="../static/js/buyerCar.js"></script>
</head>
<body>
<div class="head">
    <img src="../static/img/bg_head.png" alt=""/>
    <div class="title">
        <span>您好!欢迎来到健鼎国际</span>
            <span>
                <img src="../static/img/bg_tel.png" alt=""/>
                0000000000
            </span>
    </div>
    <div class="link">
        <a href="../index.html">
            <img src="../static/img/bg_word.png" alt=""/>
            <span>首页</span>
        </a>
        <a href="investment.html">
            <img src="../static/img/bg_word.png" alt=""/>
            <span>投资</span>
        </a>
        <a href="buyerCar.html">
            <img src="../static/img/bg_word.png" alt=""/>
            <span>购物车</span>
        </a>
        <a href="personCenter.html">
            <img src="../static/img/bg_word.png" alt=""/>
            <span>个人中心</span>
        </a>
    </div>
</div>
<div class="content">
    <table cellpadding="0" cellspacing="0">
        <thead>
        <tr>
            <td class="select">
                <input id="allSelected" type="checkbox"/>
                <span>全选</span>
            </td>
            <td class="shopImg">
                <span>商品图片</span>
            </td>
            <td class="shopName">
                <span>商品名称</span>
            </td>
            <td class="shopPrice">
                <span>商品单价</span>
            </td>
            <td class="shopNumber">
                <span>商品数量</span>
            </td>
            <td class="shopCount">
                <span>总计</span>
            </td>
            <td class="shopDel">
                <span>操作</span>
            </td>
        </tr>
        </thead>
        <tbody id="shopCartData">

        </tbody>
       <!-- <tr>
            <td class="select">
                <input type="radio"/>
            </td>
            <td class="shopImg">
                <img src="../static/img/buyerCar1.png" alt=""/>
            </td>
            <td class="shopName">
                <span>商品名称</span>
            </td>
            <td class="shopPrice">
                <span>￥</span>
            </td>
            <td class="shopNumber">
                <input type="number" min="1" value="1"/>
            </td>
            <td class="shopCount">
                <span>总计</span>
            </td>
            <td class="shopDel">
                <input type="button" value="" class="del"/>
            </td>
        </tr>-->
    </table>
    <script id="shopCartScript" type="text/html">
    {{each goodsJson item index}}
        <tr>
            <td class="select">
                <input type="checkbox" class="goodsInCart"/>
            </td>
            <td class="shopImg">
                <img src="{{item.pictionsJson | goodsImgFun}}" alt=""/>
            </td>
            <td class="shopName">
                <span>{{item.goodsName}}</span>
            </td>
            <td class="shopPrice">
                <span>￥{{item.price}}</span>
            </td>
            <td class="shopNumber">
                <input  class="goodsInCart" type="number" min="1" value="{{item.count}}"/>
            </td>
            <td class="shopCount">
                <span>￥{{item.price * item.count}}</span>
            </td>
            <td class="shopDel">
                <input type="button" value="" data-id="{{item.id}}" class="del"/>
            </td>
        </tr>
    {{/each}}
</script>
    <div class="shopCarFooter">
        <div class="price">
            <span>总计:<span id="allMoney">0.00</span></span>
        </div>
        <div class="tips">
            <input id="jsBtn" type="button" value="结算"/>
        </div>
    </div>
</div>
</body>
</html>